﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Contract.Data {

	[DataContract(Namespace = "http://DotNetChat.server.com")]
	public class ChatMember {
		[DataMember]
		public string Name { get; set; }
		[DataMember]
		public DateTime CreatedTime { get; set; }
		[DataMember]
		public DateTime LastActivityTime { get; set; }
		[DataMember]
		public int Avatar { get; set; }
		[DataMember]
		public string password { get; set; }
		[DataMember]
		public bool IsAdmin { get; set; }
	}
}
